<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>register</title>
</head>
<body>
<form method="post" action="/web_demo2/register">
    用户名：<input type="text" name="username"><br>
    年龄：<input type="number" name="age"><br>
    手机号：<input type="number" name="phone"><br>
    爱好：
    <span style="display: inline-block;">
        <input type="checkbox" name="hobbies" value="篮球"> 篮球
    </span>
    <span style="display: inline-block;">
        <input type="checkbox" name="hobbies" value="网球"> 网球
    </span>
    <span style="display: inline-block;">
        <input type="checkbox" name="hobbies" value="乒乓球"> 乒乓球
    </span>
    <br>
    <input type="submit" value="提交注册">
</form>
</body>
</html>